using Gurucore.Framework.DataAccess;
using Gurucore.Framework.DataAccess.Persistence.QueryLanguage;

namespace $namespace
{
	/// <summary>
	/// Summary for $tool.Append($tool.TruncatePrefix($schemaObject.Name),"DTO").
	/// </summary>
	[MappedTable]
	public class $tool.Append($tool.TruncatePrefix($schemaObject.Name),"DTO")
	{
#foreach( $property in $schemaObject.Properties )
		public static readonly string $tool.Append($property.Name.ToUpper(),"_FLD") = new ColumnOperand("$schemaObject.Name", "$property.Name");
#end	

#foreach( $property in $schemaObject.Properties )		
		[MappedColumn]
		public virtual $schemaObject.TypeMapper.GetCSharpType($property.Type) $property.Name { get; set; }
#end	
}
